{include file=member.header.html}
{include file="title.html"}
{include file=member.submenu.html}


<div class="list1">
    <a href="{url app=supply_demand&act=add}" class="red_btn" style="margin-bottom:10px;">新增供求</a>
    <!--{foreach from=$sdinfo item=info name=v}-->
    <div class="box">
        <h2><a href="{url app=sdemand&act=view&id=$info.id}" target="_blank">{$info.title|escape}</a></h2>
        <div class="detail">
            <p>{$lang.cate}:{$info.cate_name|escape}</p>
            <p>{$lang.price}:{if $info.type eq 2}{if $info.price_from eq 0 and $info.price_to eq 0}{$lang.asktoface}{else}{$info.price_from|price} - {$info.price_to|price}{/if}{else}{if $info.price eq 0}{$lang.asktoface}{else}{$info.price|price}{/if}{/if}</p>
            <p>{$lang.name}:{$info.name|escape}</p>
            <p>{$lang.phone}:{$info.phone|escape}</p>
            <p>
                {$lang.verify}:                
                <!--{if $info.verify eq 1}-->
                <font color="#006633">{$lang.verified}</font>
                <!--{elseif $info.verify eq 2}-->
                <font color="red">{$lang.verify_no_pass}</font>
                <!--{else}-->
                <font color="#FF6666">{$lang.verifying}</font>
                <!--{/if}-->
            </p>
            <p>{$lang.verify_desc}:<font color="#999">{$info.verify_desc}</font></p>
        </div>
        <div class="opr">
            <a href="{url app=supply_demand&act=edit&id=$info.id}" class="white_btn" style="width: 42%;">{$lang.edit}</a>  
            <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=supply_demand&amp;act=drop&id={$info.id}');" class="white_btn" style="width: 42%;">{$lang.drop}</a>        
        </div>
    </div>

    <!--{foreachelse}-->
    <div class="null">
        <p>{$lang.no_records}~</p>
    </div>
    <!--{/foreach}-->
</div>

{include file=member.footer.html}

